package com.ruoyi.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的捐献记录对象 app_user_donations
 * 
 * @author ruoyi
 * @date 2025-11-06
 */
public class AppUserDonations extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long mydonationsId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 捐赠id */
    @Excel(name = "捐赠id")
    private Long donationId;

    public void setMydonationsId(Long mydonationsId) 
    {
        this.mydonationsId = mydonationsId;
    }

    public Long getMydonationsId() 
    {
        return mydonationsId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setDonationId(Long donationId) 
    {
        this.donationId = donationId;
    }

    public Long getDonationId() 
    {
        return donationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mydonationsId", getMydonationsId())
            .append("userId", getUserId())
            .append("donationId", getDonationId())
            .toString();
    }
}
